<template>
	<view>
		<view class="interest-card" v-for="(item,index) in act">
			<view class="img"><image :src="item.acturl"></image></view>
			<view class="text">
				<view class="int-card-text">
					<view class="name"><text>{{item.actname}}</text></view>
					<view><text>{{item.acttime}}</text></view>
					<view><text>{{item.actplace}}</text></view>
				</view>
				<view class="int-card-label">
					<view class="label" v-for=" item in label">{{item}}</view>
				</view>
			</view>
			
		</view>
	</view>
	
</template>

<script>
	export default{
		props:['act','label']
	}
</script>

<style lang="scss">
	.interest-card{
		margin: 20rpx 30rpx 20rpx 30rpx;
		height: 440rpx;
		border-radius: 20rpx;
		box-shadow: 0px 2px 1px rgba(200,200,200,.30);
		.img{
			display: inline-block;
			image{
				margin: 10rpx 10rpx 10rpx 10rpx;
				width: 280rpx;
				height: 400rpx;
				border-radius: 20rpx;
			}
		}
		.text{
			display: inline-block;
			vertical-align: top;
			margin-top: 20rpx;
			.int-card-text{
				text-align: center;
				color: #797979;
				font-size: 30rpx;
				margin-top: 20rpx;
				line-height: 50rpx;
				margin-bottom: 20rpx;
				.name{
					text-align: center;
					color: #333333;
					font-weight: bold;
					font-size: 40rpx;
					line-height: 60rpx;
					margin-top: 20rpx;
					margin-bottom: 20rpx;
				}
			}
			.int-card-label{
				vertical-align: middle;
				margin-top: 20rpx;
				.label{
					width: 100rpx;
					height: 40rpx;
					display: inline-block;
					border: 1px solid #B0E3FF;
					color: #B0E3FF;
					border-radius: 20rpx;
					text-align: center;
				}
			}
		}
		
	}
</style>
